package com.miniapp.service;

import com.miniapp.entity.MiniUserEntity;
import com.miniapp.entity.MiniUserTokenEntity;

import java.util.Set;

/**
 * shiro相关接口
 * @author linyuchi
 * @date 2018-06-06 8:49
 */
public interface ShiroService  {

    MiniUserTokenEntity queryByToken(String token);

    /**
     * 根据用户ID，查询用户
     * @param userId
     */
    MiniUserEntity queryUser(Long userId);
}
